//
//  LBBasicChoiceCityView.h
//  app
//
//  Created by 杨庆人 on 16/12/26.
//  Copyright © 2016年 广东联结电子商务有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LBMultiLevCityView.h"
#import "LBCityMsgModel.h"
#import <LBCityPickerView/LBCityPickerView.h>

@interface LBBasicChoiceCityView : UIView

@property (nonatomic,strong)UILabel * titleLabel;
@property (nonatomic,copy)NSString * provinceName;
@property (nonatomic,copy)NSString * provinceCode;
@property (nonatomic,copy)NSString * cityName;
@property (nonatomic,copy)NSString * cityCode;
@property (nonatomic,copy)NSString * areaName;
@property (nonatomic,copy)NSString * areaCode;

@property (nonatomic,copy)void (^ChoiceCityBlock)(LBCityMsgModel *selectedProvinceModel, LBCityMsgModel *selectedCityModel, LBCityMsgModel *selectedAreaModel);
// 初始化
- (instancetype)initWithTitle:(NSString *)title chatStr:(NSString *)chatStr cityPickerViewType:(LBCityPickerViewType)cityPickerViewType;

// 编辑的时候填充
- (void)setDefaultCityMsgWithProvinceName:(NSString *)provinceName
                             ProvinceCode:(NSString *)provinceCode
                                 cityName:(NSString *)cityName
                                 cityCode:(NSString *)cityCode
                                 areaName:(NSString *)areaName
                                 areaCode:(NSString *)areaCode;
@end
